<template>
    <div>
        <button @click="demo">获取数据</button>
    </div>
</template>

<script>
import {ReqGetBaseCategoryList} from "@/api/index"
    export default {
        name: "Test",
        methods: {
            async demo(){
                 let data = await ReqGetBaseCategoryList()
                 console.log(data);
            }
        }
    }
</script>

<style lang="less" scoped>

</style>